package com.jsb.laundry.model.shops;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


/**
 * 店铺订单明细表(JsbOrdersShopItem)实体类
 *
 * @author makejava
 * @since 2023-08-31 14:11:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "jsb_orders_shop_item: table", description = "店铺订单明细表")
public class JsbOrdersShopItem implements Serializable {

    private static final long serialVersionUID = 351817848367986562L;

    private Integer id;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String orderId;
    private String nextToId;
    private String shopId;
    private String tempId;

    /**
     * 子订单id
     */
    @ApiModelProperty(value = "子订单id")
    private String subOrderId;

    /**
     * 订单物流方向，1 取；2 送
     */
    @ApiModelProperty(value = "订单物流方向，1 取；2 送")
    private String trackingDirection;

    /**
     * 入库是否检查：0未检查 1已检查
     */
    @ApiModelProperty(value = "入库是否检查：0未检查 1已检查")
    private String inCheck;

    /**
     * 入库时检查图片
     */
    @ApiModelProperty(value = "入库时检查图片")
    private String shopInImg;

    /**
     * 入库时间
     */
    @ApiModelProperty(value = "入库时间")
    private Date inAt;

    /**
     * 出库是否检查：0未检查 1已检查
     */
    @ApiModelProperty(value = "出库是否检查：0未检查 1已检查")
    private String outCheck;

    /**
     * 出库时检查图片
     */
    @ApiModelProperty(value = "出库时检查图片")
    private String shopOutImg;

    /**
     * 出库时间
     */
    @ApiModelProperty(value = "出库时间")
    private Date outAt;

    /**
     * 操作人员账号
     */
    @ApiModelProperty(value = "操作人员账号")
    private String operatorAccount;

    /**
     * 状态 1未入库 2已入库 3代取件 4 已出库
     */
    @ApiModelProperty(value = "状态 1未入库 2已入库 3代取件 4 已出库")
    private String shopOrdersItemStatus;

    @ApiModelProperty(value = "水洗标")
    private String washLabel;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

    private int comeCount;
    private int backCount;
}
